package appapi.entity.Zhongjiao;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @version: java version 1.8
 * @Author: Ygp Work
 * @description:
 * @date: 2023-06-13 12:34
 */
@ApiModel(value = "导出项目信息")
@Data
public class ExcelProjectDto {
    @ApiModelProperty(value = "导出项目名称")
    @Excel(name = "项目名称", orderNum = "0",width = 20)
    private String projName;
    @ApiModelProperty(value = "导出项目地址")
    @Excel(name = "项目地址", orderNum = "1",width = 20)
    private String projAddress;
    @ApiModelProperty(value = "导出企业名称")
    @Excel(name = "企业名称", orderNum = "2",width = 20)
    private String orgaName;
    @ApiModelProperty(value = "导出项目状态 0 正常 1停工 2完结")
    @Excel(name = "项目状态", orderNum = "3",width = 20,replace={"正常_0", "停工_1","完结_2"})
    private Integer projState;
    @ApiModelProperty(value = "导出创建时间")
    @Excel(name = "创建时间", orderNum = "4", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
